﻿@model Post

@{
    PostGroup postGroup = ViewBag.PostGroup;
    
    ViewBag.Title = String.Format("{0} - {1}", Model.Name, postGroup.Name);
}

<div id="post" class="details">
    <div class="container">
        <div class="row">
            <div class="col-md-9">
                <div class="bg-content">
                    <div class="bg-title">
                        <h4>@Model.Name</h4>
                    </div>
                    <div class="modified">
                        Cập nhật lần cuối: @(Model.DateModified ?? Model.DateCreated)
                    </div>
                    <hr />
                    <div class="description">
                        @Html.Raw(Model.Description)
                    </div>
                </div>
            </div>
            <div class="col-md-3 hidden-sm hidden-xs">
                <div class="bg-content menuRight">
                   @Html.Action("_MenuRight", "Post")
                </div>
            </div>
        </div>
    </div>
</div>

@section scripts {
    <script>
        $('#menuPostRight-@Model.NameId').addClass('active');
    </script>
}